package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 关注对象 t_focus
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TFocus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关注记录ID */
    private Long followId;

    /** 关注者ID */
    @Excel(name = "关注者ID")
    private Long followerId;

    /** 被关注者ID */
    @Excel(name = "被关注者ID")
    private Long followedId;

    /** 关注时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "关注时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date followedTime;

    /** 删除标识,未删除为0，已删除为1 */
    @Excel(name = "删除标识,未删除为0，已删除为1")
    private Long deleteFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setFollowId(Long followId) 
    {
        this.followId = followId;
    }

    public Long getFollowId() 
    {
        return followId;
    }

    public void setFollowerId(Long followerId) 
    {
        this.followerId = followerId;
    }

    public Long getFollowerId() 
    {
        return followerId;
    }

    public void setFollowedId(Long followedId) 
    {
        this.followedId = followedId;
    }

    public Long getFollowedId() 
    {
        return followedId;
    }

    public void setFollowedTime(Date followedTime) 
    {
        this.followedTime = followedTime;
    }

    public Date getFollowedTime() 
    {
        return followedTime;
    }

    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("followId", getFollowId())
            .append("followerId", getFollowerId())
            .append("followedId", getFollowedId())
            .append("followedTime", getFollowedTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("version", getVersion())
            .toString();
    }
}
